import scrapy


class IpSpider(scrapy.Spider):
    name = "ip"
    async def start(self):
        for i in range(1, 1000):
            yield scrapy.Request(f'https://httpbin.org/get?a={i}', callback=self.parse)

    def parse(self, response):
        print(response.url)
